package com.pb.infra.taskManage.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;

import java.io.Serializable;

/**
 * (MaJobEventCfg)实体类
 *
 * @author JYF
 * @since 2022-12-04 14:13:25
 */
@Data
@ColumnWidth(20)
public class MaJobEventCfg implements Serializable {

    private static final long serialVersionUID = -40913436479290267L;


    /**
     * 添加模式(0.增量添加，1.覆盖添加)
     */
    @ExcelIgnore
    private String addType;
    /**
     * 批次号
     */
    @ExcelIgnore
    private String groupName;

    /**
     * 作业ID
     */
    @ExcelProperty(index = 0,value = {"任务ID"})
    private String jobId;
    /**
     * 作业名称
     */
    @ExcelProperty(index = 1,value = {"任务名称"})
    private String jobName;
    /**
     * 作业类型
     */
    @ExcelProperty(index = 2,value = {"任务类型"})
    private String jobType;
    /**
     * 命令类型
     */
    @ExcelProperty(index = 3,value = {"命令类型"})
    private String cmdType;
    /**
     * 执行内容
     */
    @ExcelProperty(index = 4,value = {"执行内容"})
    private String jobCmd;
    /**
     * 运行级别
     */
    @ExcelIgnore
    private Long jobLvl;
    /**
     * 运行频度
     */
    @ExcelProperty(index = 5,value = {"运行频度"})
    private String jobFreq;
    /**
     * 分组
     */
    @ExcelProperty(index = 6,value = {"分组"})
    private String jobGroup;
    /**
     * 调度组
     */
    @ExcelIgnore
    private String sysNo;

}

